package BasicDataType.Array
fun main(args:Array<String>){
    val a = arrayOf(1,2,3)
    val b = Array(3,{i -> (i*2)})

    println(a[0])
    println(b[1])

    for(i in a){
        println(i)
    }

    for(i in b){
        println(i)
    }
}
